/*
 * LengthUnit.h
 *
 *  Created on: Mar\9, 2011
 *      Author: topcoder
 */

#ifndef LENGTHUNIT_H_
#define LENGTHUNIT_H_
#include "Unit.h"
#include "string"
using std::string;

class LengthUnit: public Unit
{
public:
    static LengthUnit& getInch();
    static LengthUnit& getFeet();
    static LengthUnit& getYard();
    static LengthUnit& getMile();

private:
    LengthUnit(const unsigned int ratio2BaseUnit, const string unitName);
};


#define INCH (LengthUnit::getInch())
#define FEET (LengthUnit::getFeet())
#define YARD (LengthUnit::getYard())
#define MILE (LengthUnit::getMile())

#endif /* LENGTHUNIT_H_ */
